[XEN] Remove unused MULTICALL_arg6, and unnecessary use of STR() macro.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Thu, 5 Oct 2006 15:36:39 +0000 (16:36 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Thu, 5 Oct 2006 15:36:39 +0000 (16:36 +0100)
Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/arch/x86/x86_32/asm-offsets.c
xen/arch/x86/x86_64/asm-offsets.c
xen/include/asm-x86/multicall.h

index 3a994650ca0bdba76a867ebc6e8eba5fdc3565b3..36197ef9e84f10937448da2b473568216f134dcf 100644 (file)
@@ -118,7 +118,6 @@ void __dummy__(void)
     OFFSET(MULTICALL_arg3, struct multicall_entry, args[3]);
     OFFSET(MULTICALL_arg4, struct multicall_entry, args[4]);
     OFFSET(MULTICALL_arg5, struct multicall_entry, args[5]);
-    OFFSET(MULTICALL_arg6, struct multicall_entry, args[6]);
     OFFSET(MULTICALL_result, struct multicall_entry, result);
     BLANK();
 
index 6744e6c9e2cc26250748199892e247681761e98e..5e958156788b6568d4215d295a844c6b2fecdb62 100644 (file)
@@ -112,7 +112,6 @@ void __dummy__(void)
     OFFSET(MULTICALL_arg3, struct multicall_entry, args[3]);
     OFFSET(MULTICALL_arg4, struct multicall_entry, args[4]);
     OFFSET(MULTICALL_arg5, struct multicall_entry, args[5]);
-    OFFSET(MULTICALL_arg6, struct multicall_entry, args[6]);
     OFFSET(MULTICALL_result, struct multicall_entry, result);
     BLANK();
 
index 5fe37176fab2bbe046d1988e0b600c3f6b1f1bb9..1ce7866c3eb581cf3ced42793b13e2f021cb0aa0 100644 (file)
@@ -16,7 +16,7 @@
             "    movq  "STR(MULTICALL_op)"(%0),%%rax; "      \
             "    cmpq  $("STR(NR_hypercalls)"),%%rax; "      \
             "    jae   2f; "                                 \
-            "    leaq  "STR(hypercall_table)"(%%rip),%%rdi; "\
+            "    leaq  hypercall_table(%%rip),%%rdi; "       \
             "    leaq  (%%rdi,%%rax,8),%%rax; "              \
             "    movq  "STR(MULTICALL_arg0)"(%0),%%rdi; "    \
             "    movq  "STR(MULTICALL_arg1)"(%0),%%rsi; "    \